package com.hornsun.data.dbo;

import java.util.Date;

public class Activities {
    private String clientGuid;

    private String ip;

    private String mac;

    private String activity;

    private Date time;

    public String getClientGuid() {
        return clientGuid;
    }

    public void setClientGuid(String clientGuid) {
        this.clientGuid = clientGuid == null ? null : clientGuid.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac == null ? null : mac.trim();
    }

    public String getActivity() {
        return activity;
    }

    public void setActivity(String activity) {
        this.activity = activity == null ? null : activity.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", clientGuid=").append(clientGuid);
        sb.append(", ip=").append(ip);
        sb.append(", mac=").append(mac);
        sb.append(", activity=").append(activity);
        sb.append(", time=").append(time);
        sb.append("]");
        return sb.toString();
    }
}